July 04, 2024
v3 Get Users
Description:
Returns user list
URI:
https://api.multitel.net/v3/get_users
Parameters:
Methods:
GET
Sample Output:
{
"status": {
"code": 200,
"msg": ""
},
"response": [
{
"id": "1373b284bc381890049e92d324f56de0",
"name": "user name",
"email": "[email protected]",
"username": "sandking",
"password": "*******",
"description": "",
"activation_time": "2023-12-04 14:09:09",
"date_created": "2023-12-04 14:09:09"
}
Sample code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => '
'https://api.multitel.net/v3/get_users',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Basic YWRtaW46TkxGN0ZQSUNXUV5VQU12lY0Qw==',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;